-
Notifications
You must be signed in to change notification settings - Fork 1
Update module sigs.k8s.io/kustomize/kustomize/v3 to v5 #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/sigs.k8s.io-kustomize-kustomize-v3-5.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
994021d to
e7d4b27
Compare
e7d4b27 to
f8be908
Compare
99d77d4 to
ae8ee58
Compare
ae8ee58 to
aa80d71
Compare
aa80d71 to
40c49bd
Compare
Author
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
40c49bd to
d23126f
Compare
c189c43 to
b3564c9
Compare
b3564c9 to
062a1b0
Compare
062a1b0 to
d14aced
Compare
d14aced to
e9cfd09
Compare
e9cfd09 to
2a562df
Compare
2a562df to
9c38aed
Compare
9c38aed to
2e073da
Compare
2e073da to
16c94dd
Compare
16c94dd to
ada6a9e
Compare
ada6a9e to
b6da38a
Compare
b6da38a to
028f338
Compare
028f338 to
aacf2ea
Compare
aacf2ea to
bbada36
Compare
bbada36 to
669b777
Compare
669b777 to
053489c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v3.10.0->v5.8.0Release Notes
kubernetes-sigs/kustomize (sigs.k8s.io/kustomize/kustomize/v3)
v5.8.0Highlights
implements to replacements value in the structured data
Now, We can edit yaml/json in yaml manifests with replacements transformer.
See #5679
For example
fix: Propagate Namespace correctly to Helm
The long-standing bug where kustomize's namespace transformer did not pass namespaces to helmCharts has been fixed.
See #5940
For example
Feature
#5679: implements to replacements value in the structured data
#5863: Add regex support for Replacement selectors
#5930: feat: add PatchArgs API type to populate patch options
fix
#5940: fix: Propagate Namespace correctly to Helm
#5971: fix: performance recession when propagating namespace to helm
#5942: fix fnplugin storagemounts validation
#5958: fix: make AbsorbAll conflict error more verbose
#5961: refactor: nested format string
#5967: Fix infinite loop in HTTP client by validating URLs before requests
#5985: fix(kyaml/yaml): minor nil safety fix for RNode.Content etc
#5991: Fix duplicate key error when adding multiple labels with --without-selector
Dependencies
#5962: chore: update dependencies from security alert
#5959: update go 1.24.6
chore
#6007: Update kyaml to v0.21.0
#6008: Update cmd/config to v0.21.0
#6009: Update api to v0.21.0
v5.7.1This release introduces code to replace the shlex library used for parsing arguments in the exec plugin.
If any existing manifests become corrupted, please file an issue. discussion: kubernetes/kubernetes#132593 (comment)
Dependencies
#5943: drop shlex dependency
Chore
#5948: Update kyaml to v0.20.1
#5949: Update cmd/config to v0.20.1
#5950: Update api to v0.20.1
v5.7.0Feature
#5630: Add static value source for replacement
#5921: feat: Add images suport for Image Volumes
#5771: fix: Allow patches with empty files with multiple newlines or comments
#5865: feat(helm): allow the use of devel alias for helmcharts
fix
#5846: fix: Get version from the BuildInfo.Main.Version if not found in deps and build flag
#5859: fix: Don't panic on multiple $patch: delete strategic merge patches in a single patch file
#5877: fix: make private one field in replacements transformer struct that had a missing JSON tag
Dependencies
#5847: replace deplecated package github.com/google/shlex with github.com/carapace-sh/carapace-shlex
#5873: Bump to github.com/spf13/viper v1.20.0
#5931: Drop usage of forked copies of goyaml.v2 and goyaml.v3
chore
#5882: Set Git messages to English for TestRemoteLoad_LocalProtocol
#5934: Update kyaml to v0.20.0
#5935: Update cmd/config to v0.20.0
#5936: Update api to v0.20.0
v5.6.0Announce
This release introduces a unified internal package version (
v0.19.0) across the entire kustomize repository.ref. #5800
Chore
#5809: fix: "edit add labels" make labels handle -f flag same as commonLabels
Dependencies
#5825: Update to latest kube-opeapi to drop govalidator dependency
#5830: downgrade go-difflib and go-spew to tagged releases
#5837: Update kyaml to v0.19.0
#5839: Update cmd/config to v0.19.0
#5840: Update api to v0.19.0
v5.5.0Breaking change
A starlark support for krm functions was removed to cleanup dependencies. #5768
This feature was deprecated 3 years ago and removed because there was no desire to continue using it.
#5768 (comment)
Feature
#5751: Add
--helm-debugFlag to Kustomize for Enhanced Helm DebuggingFix Bugs
#5458: Sort built-in Namespace kind before CRDs with the same name
#5745: Add Annotation to Control Inline List Conversion in Kustomize Resources"
Dependencies
#5763: Update go 1.22.7
#5781: Update kyaml to v0.18.1
#5782: Update cmd/config to v0.15.0
#5783: Update api to v0.18.0
v5.4.3Caution
The
kustomize localizesubcommand(this subcommand is now in thebetastage) now verifies the success ofkustomize buildwhen executed.If you are using the missing manifests, maybe you failed to download them with the
localizesubcommand. Please use the--no-verifyflag to skip validation steps.#5544: Run kustomize build with kustomize localize and add a no-verify flag.
Fix Bugs
#5682: fix: include label in templates when adding by cli
#5689: Fix sortOptions removal when running edit command
chore
#5506: fix some comments
#5718: fix lint error in kustomizationfile_test.go
Dependencies
#5734: Update kyaml to v0.17.2
#5735: Update cmd/config to v0.14.2
#5736: Update api to v0.17.3
v5.4.2Feature
#5294: feat: localize absolute paths
#5556: feat: support labels key in transformer configuration
chore
#5671: refactor: string in slice is now part of stdlib
#5681: chore: remove unused function
#5688: refactor: function in stdlib now
Dependencies
#5672: chore(deps): bump dependencies of kustomize + sync go workspace
#5680: chore: restore version for github.com/asaskevich/govalidator
#5702: Update kyaml to v0.17.1
#5703: Update cmd/config to v0.14.1
#5704: Update api to v0.17.2
v5.4.1This is a patch of kustomize v5.4.0 and should fix the
kustomize versionsubcommand issues in its assets.kustomize v5.4.1
#5644: fix version subcommand is not working after release build
kustomize v5.4.0
Breaking changes
#5519: Fix null YAML values being replaced by "null"
kustomize requires Go 1.21 or higher at build
#5567: fix 'golang.org/x/exp/slices' dependencies
Features
#5411: Add --load-restrictor completion
#5467: feat: edit set secret
More better error handling
Bug fixes/performance improvements
#5234: fix edit set image to parse both tag and digest
#5621: Use require for Error and NoError
Dependencies
#5479: Revert "Switch to json-patch v5"
#5541: Use canonical json-patch v4 import
#5615: update dependencies google.golang.org/protobuf@v1.33.0
update internal Dependencies
#5639: Update kyaml to v0.17.0
#5640: Update cmd/config to v0.14.0
#5641: Update api to v0.17.0
cleanup Dependencies
#5044: Remove non-essential dependency
imdario/mergo#5567: fix 'golang.org/x/exp/slices' dependencies
#5627: Remove klog/v1 dependencies
chore
#5495: chore: move removetest.go to the internal package
#5518: Update owners file
#5622: Pin tool versions with hack/go.mod
v5.4.0Known issue: The
kustomize versioncommand was broken in this release. Please use more new releases.Breaking changes
#5519: Fix null YAML values being replaced by "null"
Features
#5411: Add --load-restrictor completion
#5467: feat: edit set secret
More better error handling
Bug fixes/performance improvements
#5234: fix edit set image to parse both tag and digest
#5621: Use require for Error and NoError
Dependencies
#5479: Revert "Switch to json-patch v5"
#5541: Use canonical json-patch v4 import
#5615: update dependencies google.golang.org/protobuf@v1.33.0
update internal Dependencies
#5639: Update kyaml to v0.17.0
#5640: Update cmd/config to v0.14.0
#5641: Update api to v0.17.0
cleanup Dependencies
#5044: Remove non-essential dependency
imdario/mergo#5567: fix 'golang.org/x/exp/slices' dependencies
#5627: Remove klog/v1 dependencies
chore
#5495: chore: move removetest.go to the internal package
#5518: Update owners file
#5622: Pin tool versions with hack/go.mod
v5.3.0#5211: Fix nil pointer dereferencing when converting
varstoreplacements#5270: helm: add support for kube-version and add cli args for both kube-version and api-versions
#5391: feat: edit set configmap
#5402: release cleanup, unpin the modules
#5409: refactor: move reusable bits in preparation for new 'edit set' commands
#5412: Use upstream go-yaml fork and remove our internal one
#5421: Replace gopkg.in/yaml.v2 with sigs.k8s.io/yaml/goyaml.v2
#5424: Run go work sync
#5430: fix: handle empty namespace as default
#5454: fix: support namespace flag on edit remove secret/configmap
#5455: fix: flaky ConfigMap/Secret args tests
#5456: chore: rename files to match package pattern
#5475: Update kyaml to v0.16.0
#5476: Update cmd/config to v0.13.0
#5477: Update api to v0.16.0
v5.2.1This is a patch of kustomize v5.2.0 and should fix the directory formatting issues in its assets.
Release notes from v5.2.0 (Delta from v5.1.1)
Currently, Kustomize has already resolved that block on releasing for Windows and Darwin ARM(#5220). Now, We can release those architecture binaries.
New Features for
kustomize buildpatchesaccept a patch file with multiple patches(#5194)New Features for
kustomize editsubcommands#4486: add: "edit add labels" command adds an option for labels without selector
#5327: feat: add remove configmap command
#5333: Add --no-verify flag to edit add resource command
#5344: feat: add remove secret command
#5367: fix: add namespace option to 'edit add configmap' command
Bug fixes
#5342: Update imdario/mergo to v0.3.13
#5196: fix: patch additions honor source key style
chore
#5345: docs: update remove configmap comment
#5193: [refactor]: Internalize loader api
#5315: refactor: change "add configmap/secret" commands to reuse code and improve tests
Dependency updates
#5254: release cleanup
#5197: Switch to json-patch v5
#5393: Update kyaml to v0.15.0
#5394: Update cmd/config to v0.12.0
#5395: Update api to v0.15.0
v5.2.0Known issue: The directory format of the kustomize binary asset has unintentionally changed. We have fixed this in kustomize v5.2.1. Users who depend on the directory structure or use the install_kustomize.sh script should skip this release.
Currently, Kustomize has already resolved that block on releasing for Windows and Darwin ARM(#5220). Now, We can release those architecture binaries.
New Feature
patchesaccept a patch file with multiple patches(#5194)New Feature for
kustomize editsubcommands#4486: add: "edit add labels" command adds an option for labels without selector
#5327: feat: add remove configmap command
#5333: Add --no-verify flag to edit add resource command
#5344: feat: add remove secret command
#5367: fix: add namespace option to 'edit add configmap' command
Bug fixes
#5342: Update imdario/mergo to v0.3.13
#5196: fix: patch additions honor source key style
chore
#5345: docs: update remove configmap comment
#5193: [refactor]: Internalize loader api
#5315: refactor: change "add configmap/secret" commands to reuse code and improve tests
Dependency updates
#5254: release cleanup
#5197: Switch to json-patch v5
#5393: Update kyaml to v0.15.0
#5394: Update cmd/config to v0.12.0
#5395: Update api to v0.15.0
v5.1.1Built with go 1.20.6 to address CVEs in previous go versions.
#5245: Fix typo in help for the create subcommand
v5.1.0Kustomize is blocked on releasing for windows and darwin ARM until #5220 is resolved. If you are interested in fixing it, please leave ideas on that issue for how we can resolve it.
Highlights
Components are now applied after generators: #5170
We made this change cautiously as we want to avoid user friction when updating kustomize; however we felt that it is a bug that resources from
resourcesand resources from generators are treated differently. Given that components is currently an alpha feature, we felt that now was the time to adjust if ever.We are currently working on on #4402, which will make the ordering of
resources,components, and other generators customizable in the kustomization file. Please use that issue for tracking if you are blocked from upgrading kustomize for this reason, and we hope to have it available soon.See #5141 for more detailed discussion.
Bug fixes:
#5030:
kustomize editwill return an error if there is no matching path#5170: components are now applied after generators
#4949: error if kustomization file is empty
Dependency updates
#5186: Update gnostic dependency with gnostic-models
#5187: Bump to go 1.20
#5212: pin to kyaml v0.14.3
#5213: pin to cmd/config v0.11.3
#5214: pin to api 0.14.0
v5.0.3This release reverts the regression with the helm plugin that was introduced in v5.0.2.
Built with go 1.19.9 to remove CVE vulnerabilities.
Changelog
#5164: Revert "Fix using same helm chart with different versions"
v5.0.2Built with go 1.19.9 to resolve CVE vulnerabilities.
Known issues:
#5163: kustomize 5.0.2 breaks helmCharts w/ chartHome. We are in the process of reverting the breaking change and rereleasing kustomize. Users of the helmCharts plugin with local charts are advised to skip this release.
Changelog
#5159: pin to kyaml v0.14.2
#5160: pin to cmd/config v0.11.2
#5161: pin to api 0.13.3
v5.0.1Bug fixes
#5048: Fix a regression causing warning messages to be intermingled with Kustomize build output on stdout
#5073: Revert strict decoding of Kustomization files due to regression in anchor handling
Dependencies
#5088: Update kyaml to v0.14.1
#5089: Update cmd/config to v0.11.1
#5090: Update api to v0.13.2
v5.0.0🎉The Kustomize team is so excited to release version 5.0! 🎉
This release is packed with exciting features and improvements. The full list is below, but here are some of our favorites:
kustomize localize: a brand new alpha command that localizes remote content. You’ll be able tobuildthe localized kustomization without network access and performance delays! Please give it a try and let us know what you think in #4996. See more details in its entry under Features below.additionalValuesFiles,skipTests,apiVersionsandnameTemplatesortOptionskustomization field gives you fine-grained control over resource ordering in build outputA HUGE thank you to everyone who contributed to this release! 🙇♀️
Breaking changes
kustomize fn sink,kustomize fn source,kustomize fn wrap,kustomize fn xargs,kustomize cfg annotate,kustomize cfg create-setter,kustomize cfg delete-setter,kustomize cfg delete-substitution,kustomize cfg create-substitution,kustomize cfg fmt,kustomize cfg init,kustomize cfg list-setters,kustomize cfg merge,kustomize cfg merge3,kustomize cfg set./to replace the .git for the URL to properly resolve.gh:as a host (e.g.gh:kubernetes-sigs/kustomize). We were unable to find any usage of or basis for this and believe it may have been targeting a custom gitconfig shorthand syntax.patchesused to be allowed to be used as an alias forpatchesStrategicMergein kustomize v3. You now have to usepatchesStrategicMergeexplicitly, or update to the new syntax supported bypatches. See examples in the PR description of #4911.kustomize build's side-effect-free promise. While this behavior was never intended, we deprecated it and are announcing it as a breaking change since it existed for a long time. See also the Eschewed Features documentation.Deprecations
--shortflag forkustomize versionis deprecated.git::prefix, which is invalid. Kustomize currently strips it, but will stop doing so in a future release.Features
kustomize localizecommand to download any remote content from your kustomization directory and create a new, localized copy with file paths to the local content replacing the URLs. Please leave your feedback here: #4996sortOptions, that lets you configure the sort order of resources.kustomize edit fixconvertspatchesStrategicMergetopatcheskustomize versionis improved. YAML and JSON formats are now available via the new--outputflag.helm templateargs in thehelmChartsfield:additionalValuesFiles,skipTests,apiVersionsandnameTemplate.#4886: Wildcard support for creation in ReplacementTransformer
Bug Fixes/performance improvements
labels.includeTemplates, create template/metadata if not present.options.disableNameSuffixHashin configmap and secret generator in overlaysDependencies
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.